package com.lenovo.smarttraffic.Test.web_load_sql;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * author  张猛
 **/
@Entity
public class SqlBean {
    @Id(autoincrement = true)
    private Long id;
    @Property(nameInDb = "CarNumber")
    private String carnumber;
    @Property(nameInDb = "Number")
    private int number;
    @Property(nameInDb = "pcardid")
    private String pcardid;
    @Property(nameInDb = "buydata")
    private String buydata;
    @Property(nameInDb = "carbrand")
    private String carbrand;

    @Generated(hash = 443185566)
    public SqlBean(Long id, String carnumber, int number, String pcardid,
                   String buydata, String carbrand) {
        this.id = id;
        this.carnumber = carnumber;
        this.number = number;
        this.pcardid = pcardid;
        this.buydata = buydata;
        this.carbrand = carbrand;
    }

    @Generated(hash = 2066760633)
    public SqlBean() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCarnumber() {
        return this.carnumber;
    }

    public void setCarnumber(String carnumber) {
        this.carnumber = carnumber;
    }

    public int getNumber() {
        return this.number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getPcardid() {
        return this.pcardid;
    }

    public void setPcardid(String pcardid) {
        this.pcardid = pcardid;
    }

    public String getBuydata() {
        return this.buydata;
    }

    public void setBuydata(String buydata) {
        this.buydata = buydata;
    }

    public String getCarbrand() {
        return this.carbrand;
    }

    public void setCarbrand(String carbrand) {
        this.carbrand = carbrand;
    }

}